FROM mysql/mysql-server:8.0.32

MAINTAINER scs(wangiegie@gmail.com)

ENV TZ=Asia/Shanghai
ENV LANG C.UTF-8

RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

COPY ./1schema.sql /docker-entrypoint-initdb.d

COPY ./2scsx.sql /docker-entrypoint-initdb.d

COPY ./3scsx_flow.sql /docker-entrypoint-initdb.d

COPY ./4scsx_job.sql /docker-entrypoint-initdb.d

COPY ./5scsx_mp.sql /docker-entrypoint-initdb.d

COPY ./6scsx_config.sql /docker-entrypoint-initdb.d

COPY ./7scsx_pay.sql /docker-entrypoint-initdb.d

COPY ./8scsx_codegen.sql /docker-entrypoint-initdb.d

COPY ./99scsx_bi.sql /docker-entrypoint-initdb.d

COPY ./999scsx_app.sql /docker-entrypoint-initdb.d
